package com.yuda.campsite.service.impl;

import com.yuda.campsite.domain.ShengHeStudnet;
import com.yuda.campsite.mapper.ShengHeStudentMapper;
import com.yuda.campsite.service.ShengHeStudentService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.concurrent.ScheduledExecutorService;

/**
 * @Author: xiaohudie
 * @Date: 2021/9/29 15:42
 * @Version: 1.8
 */
@Service
public class ShengHeStudnetServiceImpl implements ShengHeStudentService {
    @Autowired
    private ShengHeStudentMapper shengHeStudentMapper;
    @Override
    public List<ShengHeStudnet> shenghetiaojian( String campsiteId,String jiguanProvince, String jiguanCity, String name, Integer qisi, Integer offset) {
        return shengHeStudentMapper.shenghetiaojian(campsiteId,jiguanProvince, jiguanCity, name, qisi, offset);
    }

    @Override
    public List<ShengHeStudnet> shenghetongguo( String campsiteId,String jiguanProvince, String jiguanCity, String name, Integer qisi, Integer offset) {
        return shengHeStudentMapper.shenghetongguo(campsiteId,jiguanProvince, jiguanCity, name, qisi, offset);
    }

    @Override
    public List<ShengHeStudnet> shenghebutongguo(String  campsiteId,String jiguanProvince, String jiguanCity, String name, Integer qisi, Integer offset) {
        return shengHeStudentMapper.shenghebutongguo(campsiteId,jiguanProvince, jiguanCity, name, qisi, offset);
    }

    @Override
    public Integer chakanbaoming(@Param("name") String name) {
        return shengHeStudentMapper.chakanbaoming(name);
    }

    @Override
    public Integer failshenghe(String examineReason, String idCard, String campsiteId) {
        return shengHeStudentMapper.failshenghe(examineReason, idCard,campsiteId);
    }
}
